class QuestionOption < ActiveRecord::Base

  belongs_to :question
  has_many :answers_question_options
  has_many :answers, :through => :answers_question_options
  
  def is_other
    self.code == 'OTHER'
  end

end
